package org.tinygroup.trans.template.test;

import org.junit.Assert;
import org.junit.Test;
import org.tinygroup.trans.template.manager.TemplateConvertManager;

public class DemoTrans {
	@Test
	public void testInitMapping() {
		TemplateConvertManager
				.put("F:/Tiny/tiny/ext/trans/org.tinygroup.trans.template/src/test/resources/object-xml.protocolconvert.xml");
//		Assert.assertEquals(
//				"<?xml version=\"1.0\" encoding=\"UTF-8\"?><xml><user><name>${var.name}</name><age>${var.age}</age></user></xml>",
//				TemplateConvertManager.getScript(
//						"org.tinygroup.protocol.convert.testcase.User",
//						"100001"));
	}
}
